/*
kunpengsecl licensed under the Mulan PSL v2.
You can use this software according to the terms and conditions of
the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at:
    http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.

Author: wangli
Create: 2022-04-20
Description: Access interface of the AS provided for QCA
*/

package aslib

import (
	"io/ioutil"
	"os"
	"testing"

	"gitee.com/openeuler/kunpengsecl/attestation/tas/clientapi/server"
	"gitee.com/openeuler/kunpengsecl/attestation/tas/config"
)

const (
	RA_SCENARIO_AS_NO_DAA   = int32(1)
	RA_SCENARIO_AS_WITH_DAA = int32(2)
	NOT_SUPPORT_SCENARIO    = int32(3)
	ConfigPath              = "./config.yaml"
	asCertPath              = "./ascert.crt"
	asprivPath              = "./aspriv.key"
	huaweiPath              = "./Huawei IT Product CA.pem"
	tasconfig               = `
tasconfig:
  port: 127.0.0.1:40008
  rest: 127.0.0.1:40009
  akskeycertfile: ./ascert.crt
  aksprivkeyfile: ./aspriv.key
  huaweiitcafile: ./Huawei IT Product CA.pem
  DAA_GRP_KEY_SK_X: 65A9BF91AC8832379FF04DD2C6DEF16D48A56BE244F6E19274E97881A776543C
  DAA_GRP_KEY_SK_Y: 126F74258BB0CECA2AE7522C51825F980549EC1EF24F81D189D17E38F1773B56
  basevalue: "cc0fe80b4510b3c8d5bf6308024676d2d9e83fbb05ba3d23cd645bfb573ae8a1 bd9df1a7f941c572c14723b80a0fbd805d52641bbac8325681a19d8ba8487b53"
  authkeyfile: ./ecdsakey.pub	  
`
)

const ascert = `
-----BEGIN CERTIFICATE-----
MIIFazCCA1OgAwIBAgIURBG3rzn2SH3wruHaPKctA2pEqS8wDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQ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YInPXuuvrbrDkQvLBYb9hY78a
pwHn89PhRWE9HQwNnflTZS1gWtn5dQ4uvWAfX19e87AcHzp3vL4J2bCxxPXEE081
3vhqtnU9Rlv/EJAMauZ3DKsMMsYX8i35ENhfto0ZLz1Aln0qtUOZ63h/VxQwGVC0
OCE1U776UUKZosfTmNLld4miJnwsk8AmLaMxWOyRsqzESHa2x1t2sXF8s0/LW5T7
d+j7JrLzey3bncx7wceASUUL3iAzICHYr728fNzXKV6OcZpjGdYdVREpM26sbxLo
77rH32o=
-----END CERTIFICATE-----
`

var (
	bufferDAA = []byte{
		0x01, 0x00, 0x00, 0x00, 0x5a, 0x94, 0xcc, 0x12, 0xd6, 0x2d, 0x00, 0x00,
		0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69,
		0x74, 0x68, 0x20, 0x64, 0x61, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
		0x00, 0x00, 0x00, 0x10, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
		0x01, 0x00, 0x00, 0x10, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
		0x00, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00,
		0x02, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0xb0, 0x00, 0x00, 0x00,
		0x04, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0xd0, 0x00, 0x00, 0x00,
		0x05, 0x00, 0x00, 0x20, 0x48, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
		0x06, 0x00, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0x38, 0x01, 0x00, 0x00,
		0x08, 0x00, 0x00, 0x20, 0x20, 0x06, 0x00, 0x00, 0x38, 0x03, 0x00, 0x00,
		0xcc, 0x0f, 0xe8, 0x0b, 0x45, 0x10, 0xb3, 0xc8, 0xd5, 0xbf, 0x63, 0x08,
		0x02, 0x46, 0x76, 0xd2, 0xd9, 0xe8, 0x3f, 0xbb, 0x05, 0xba, 0x3d, 0x23,
		0xcd, 0x64, 0x5b, 0xfb, 0x57, 0x3a, 0xe8, 0xa1, 0xbd, 0x9d, 0xf1, 0xa7,
		0xf9, 0x41, 0xc5, 0x72, 0xc1, 0x47, 0x23, 0xb8, 0x0a, 0x0f, 0xbd, 0x80,
		0x5d, 0x52, 0x64, 0x1b, 0xba, 0xc8, 0x32, 0x56, 0x81, 0xa1, 0x9d, 0x8b,
		0xa8, 0x48, 0x7b, 0x53, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
		0x20, 0x00, 0x00, 0x00, 0xd5, 0x2d, 0x8f, 0xc4, 0x5e, 0x6a, 0x9a, 0x44,
		0x48, 0x12, 0x1b, 0x09, 0x9d, 0xd1, 0xeb, 0x74, 0x40, 0x0c, 0x47, 0x05,
		0x0a, 0xd0, 0xe3, 0x1b, 0x78, 0x1d, 0x07, 0x83, 0x34, 0x71, 0x37, 0x32,
		0x20, 0x00, 0x00, 0x00, 0x40, 0x0d, 0x8e, 0x71, 0x73, 0x1b, 0xd4, 0xac,
		0x5b, 0x73, 0x86, 0x7e, 0x32, 0x82, 0x3a, 0xc9, 0x15, 0x04, 0xd7, 0xf9,
		0x50, 0xc7, 0x3b, 0xb3, 0xbf, 0x4c, 0x67, 0xc5, 0x6c, 0x11, 0x02, 0xab,
		0x52, 0x4f, 0x50, 0x05, 0x35, 0x82, 0xa9, 0x27, 0x4d, 0xc1, 0x5e, 0x0a,
		0xd7, 0x79, 0xec, 0x19, 0x75, 0xec, 0xa7, 0xb8, 0x35, 0x52, 0x91, 0xe6,
		0x93, 0xfd, 0x80, 0xba, 0xc2, 0xce, 0x99, 0x3a, 0x87, 0x22, 0x5a, 0xb9,
		0x9c, 0xa6, 0xd4, 0x4b, 0x04, 0x2d, 0xc9, 0x8a, 0x8a, 0x9c, 0x65, 0x64,
		0x06, 0x32, 0x41, 0xc7, 0x5e, 0x2d, 0x63, 0xad, 0xe3, 0x92, 0x18, 0x73,
		0x2d, 0x16, 0x3a, 0x1c, 0x78, 0x6d, 0xbe, 0x51, 0xe5, 0xd9, 0xfd, 0x70,
		0x59, 0x0b, 0x53, 0x85, 0x83, 0xf0, 0xd0, 0x52, 0x05, 0x17, 0x6d, 0x92,
		0x81, 0x22, 0x1c, 0xa5, 0x46, 0x30, 0x55, 0xfc, 0x5f, 0x8b, 0xb2, 0x30,
		0x35, 0xf1, 0x0f, 0x2f, 0x4b, 0x04, 0x81, 0xc1, 0x94, 0xd7, 0x6d, 0x68,
		0xa4, 0x6c, 0xea, 0x49, 0xc2, 0x5c, 0x94, 0x6f, 0xfe, 0x8b, 0x89, 0x01,
		0x7c, 0x5f, 0xc2, 0x08, 0xb6, 0x4f, 0x07, 0x15, 0x14, 0x95, 0xab, 0xc1,
		0xd5, 0x89, 0xc2, 0xb4, 0x47, 0x56, 0x82, 0x6f, 0x3b, 0xff, 0x0b, 0xf8,
		0x6b, 0x8a, 0x6c, 0x38, 0xfa, 0xe8, 0x52, 0x99, 0x42, 0xfb, 0x7a, 0xdc,
		0x83, 0xda, 0x60, 0x5d, 0x8a, 0x7e, 0x62, 0xe5, 0x78, 0x99, 0x06, 0xae,
		0x93, 0x07, 0xc2, 0xd7, 0x54, 0xe3, 0xa9, 0xc2, 0x52, 0xc9, 0x1b, 0x06,
		0xb0, 0x50, 0xe0, 0x64, 0x8c, 0x1e, 0x77, 0x24, 0xa4, 0x3e, 0x0c, 0x71,
		0x8f, 0x92, 0x67, 0x99, 0xc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a0, 0xaf, 0xd2, 0x47, 0xa6, 0xb0, 0x48,
		0xe6, 0x30, 0xbe, 0xc7, 0x35, 0x06, 0xff, 0x50, 0x3e, 0x0b, 0x6a, 0xc0,
		0x2c, 0xc6, 0xf7, 0x87, 0xba, 0x19, 0x47, 0x0e, 0xa4, 0xed, 0xd9, 0x6d,
		0x53, 0x21, 0x82, 0xaf, 0x53, 0x6d, 0x08, 0x9c, 0x98, 0x64, 0x65, 0xbf,
		0x5d, 0x2c, 0x75, 0xbf, 0x67, 0xce, 0x4f, 0x9d, 0x3b, 0xb7, 0xaa, 0x04,
		0xf3, 0x18, 0xa5, 0x14, 0x5b, 0x09, 0xcd, 0xf6, 0x04, 0xc9, 0xa6, 0x10,
		0x2a, 0x36, 0x32, 0x88, 0x3f, 0xa2, 0xdf, 0x68, 0x48, 0xc9, 0x6c, 0x68,
		0xfc, 0x69, 0x30, 0x09, 0x96, 0x01, 0x08, 0x09, 0x8f, 0x9f, 0xfe, 0xea,
		0x18, 0x86, 0x52, 0x09, 0x7c, 0xf5, 0x2e, 0xa4, 0xa8, 0x7a, 0x13, 0x98,
		0x14, 0x3c, 0x67, 0xd6, 0x1e, 0x75, 0xe8, 0xc6, 0x9a, 0x58, 0x32, 0xde,
		0xde, 0x4f, 0x4e, 0xc3, 0xa4, 0x35, 0x9c, 0x1e, 0x73, 0x21, 0x93, 0xed,
		0x99, 0xb0, 0x1a, 0x6b, 0x48, 0x0c, 0x3a, 0xe0, 0x4d, 0x49, 0x49, 0x45,
		0x6b, 0x6a, 0x43, 0x43, 0x41, 0x33, 0x71, 0x67, 0x41, 0x77, 0x49, 0x42,
		0x41, 0x67, 0x49, 0x52, 0x45, 0x57, 0x49, 0x6d, 0x38, 0x75, 0x4e, 0x4c,
		0x4e, 0x4d, 0x53, 0x7a, 0x6d, 0x65, 0x4f, 0x72, 0x46, 0x48, 0x65, 0x33,
		0x4a, 0x7a, 0x63, 0x77, 0x44, 0x51, 0x59, 0x4a, 0x4b, 0x6f, 0x5a, 0x49,
		0x68, 0x76, 0x63, 0x4e, 0x41, 0x51, 0x45, 0x4c, 0x42, 0x51, 0x41, 0x77,
		0x50, 0x54, 0x45, 0x4c, 0x4d, 0x41, 0x6b, 0x47, 0x41, 0x31, 0x55, 0x45,
		0x42, 0x68, 0x4d, 0x43, 0x51, 0x30, 0x34, 0x78, 0x44, 0x7a, 0x41, 0x4e,
		0x42, 0x67, 0x4e, 0x56, 0x42, 0x41, 0x6f, 0x54, 0x42, 0x6b, 0x68, 0x31,
		0x59, 0x58, 0x64, 0x6c, 0x61, 0x54, 0x45, 0x64, 0x4d, 0x42, 0x73, 0x47,
		0x41, 0x31, 0x55, 0x45, 0x41, 0x78, 0x4d, 0x55, 0x53, 0x48, 0x56, 0x68,
		0x64, 0x32, 0x56, 0x70, 0x49, 0x45, 0x6c, 0x55, 0x49, 0x46, 0x42, 0x79,
		0x62, 0x32, 0x52, 0x31, 0x59, 0x33, 0x51, 0x67, 0x51, 0x30, 0x45, 0x77,
		0x48, 0x68, 0x63, 0x4e, 0x4d, 0x6a, 0x49, 0x77, 0x4e, 0x7a, 0x41, 0x34,
		0x4d, 0x44, 0x6b, 0x77, 0x4e, 0x54, 0x51, 0x35, 0x57, 0x68, 0x63, 0x4e,
		0x4d, 0x7a, 0x63, 0x77, 0x4e, 0x7a, 0x41, 0x30, 0x4d, 0x44, 0x6b, 0x77,
		0x4e, 0x54, 0x51, 0x35, 0x57, 0x6a, 0x41, 0x36, 0x4d, 0x51, 0x73, 0x77,
		0x43, 0x51, 0x59, 0x44, 0x56, 0x51, 0x51, 0x47, 0x45, 0x77, 0x4a, 0x44,
		0x54, 0x6a, 0x45, 0x50, 0x4d, 0x41, 0x30, 0x47, 0x41, 0x31, 0x55, 0x45,
		0x43, 0x68, 0x4d, 0x47, 0x53, 0x48, 0x56, 0x68, 0x64, 0x32, 0x56, 0x70,
		0x4d, 0x52, 0x6f, 0x77, 0x47, 0x41, 0x59, 0x44, 0x56, 0x51, 0x51, 0x44,
		0x45, 0x78, 0x45, 0x77, 0x4d, 0x6a, 0x5a, 0x51, 0x55, 0x46, 0x59, 0x78,
		0x4d, 0x45, 0x74, 0x42, 0x4d, 0x44, 0x41, 0x31, 0x4d, 0x54, 0x4d, 0x35,
		0x56, 0x44, 0x43, 0x43, 0x41, 0x69, 0x49, 0x77, 0x44, 0x51, 0x59, 0x4a,
		0x4b, 0x6f, 0x5a, 0x49, 0x68, 0x76, 0x63, 0x4e, 0x41, 0x51, 0x45, 0x42,
		0x42, 0x51, 0x41, 0x44, 0x67, 0x67, 0x49, 0x50, 0x41, 0x44, 0x43, 0x43,
		0x41, 0x67, 0x6f, 0x43, 0x67, 0x67, 0x49, 0x42, 0x41, 0x4c, 0x6b, 0x48,
		0x2f, 0x36, 0x36, 0x43, 0x53, 0x61, 0x4e, 0x76, 0x31, 0x78, 0x45, 0x54,
		0x47, 0x74, 0x59, 0x4b, 0x47, 0x66, 0x43, 0x4d, 0x6f, 0x35, 0x52, 0x4c,
		0x79, 0x57, 0x61, 0x47, 0x52, 0x56, 0x61, 0x54, 0x6e, 0x34, 0x76, 0x42,
		0x48, 0x53, 0x50, 0x39, 0x34, 0x65, 0x78, 0x6f, 0x6d, 0x4e, 0x43, 0x32,
		0x36, 0x52, 0x68, 0x75, 0x78, 0x6c, 0x4b, 0x55, 0x2b, 0x57, 0x4d, 0x38,
		0x4c, 0x34, 0x4e, 0x31, 0x52, 0x54, 0x39, 0x31, 0x52, 0x76, 0x51, 0x6d,
		0x59, 0x54, 0x35, 0x4c, 0x37, 0x70, 0x6d, 0x71, 0x4f, 0x31, 0x65, 0x6f,
		0x4e, 0x37, 0x7a, 0x2f, 0x36, 0x61, 0x48, 0x73, 0x64, 0x6e, 0x70, 0x67,
		0x74, 0x78, 0x45, 0x43, 0x52, 0x4f, 0x36, 0x79, 0x5a, 0x4c, 0x46, 0x71,
		0x4b, 0x36, 0x50, 0x48, 0x57, 0x77, 0x4b, 0x70, 0x52, 0x71, 0x64, 0x73,
		0x34, 0x65, 0x61, 0x57, 0x32, 0x66, 0x56, 0x47, 0x55, 0x71, 0x76, 0x31,
		0x66, 0x52, 0x46, 0x65, 0x53, 0x68, 0x4b, 0x46, 0x33, 0x6f, 0x58, 0x51,
		0x5a, 0x58, 0x6e, 0x6a, 0x4b, 0x37, 0x5a, 0x30, 0x4b, 0x73, 0x34, 0x41,
		0x36, 0x7a, 0x4e, 0x61, 0x4d, 0x52, 0x70, 0x66, 0x57, 0x75, 0x4d, 0x76,
		0x56, 0x31, 0x74, 0x70, 0x57, 0x38, 0x56, 0x55, 0x41, 0x59, 0x34, 0x58,
		0x6e, 0x65, 0x42, 0x39, 0x74, 0x67, 0x39, 0x38, 0x77, 0x76, 0x51, 0x65,
		0x4a, 0x2b, 0x47, 0x79, 0x36, 0x71, 0x5a, 0x32, 0x54, 0x41, 0x58, 0x54,
		0x49, 0x2b, 0x7a, 0x48, 0x54, 0x5a, 0x75, 0x4c, 0x34, 0x43, 0x6d, 0x4e,
		0x75, 0x2b, 0x4c, 0x37, 0x49, 0x4e, 0x43, 0x5a, 0x4f, 0x45, 0x56, 0x52,
		0x73, 0x70, 0x56, 0x6d, 0x47, 0x54, 0x58, 0x6d, 0x4a, 0x48, 0x73, 0x6e,
		0x38, 0x58, 0x43, 0x47, 0x56, 0x62, 0x59, 0x51, 0x32, 0x4e, 0x51, 0x4f,
		0x41, 0x64, 0x75, 0x6f, 0x56, 0x52, 0x74, 0x56, 0x68, 0x56, 0x52, 0x32,
		0x39, 0x38, 0x48, 0x74, 0x34, 0x35, 0x47, 0x35, 0x7a, 0x33, 0x53, 0x43,
		0x36, 0x6d, 0x74, 0x46, 0x35, 0x75, 0x37, 0x4f, 0x79, 0x76, 0x2f, 0x56,
		0x51, 0x50, 0x6f, 0x2b, 0x6e, 0x4b, 0x78, 0x66, 0x45, 0x43, 0x71, 0x2f,
		0x2b, 0x63, 0x4d, 0x4a, 0x48, 0x2b, 0x79, 0x6c, 0x41, 0x61, 0x42, 0x71,
		0x79, 0x72, 0x6b, 0x58, 0x62, 0x62, 0x45, 0x36, 0x48, 0x34, 0x62, 0x79,
		0x4d, 0x4f, 0x65, 0x43, 0x79, 0x44, 0x41, 0x4b, 0x4b, 0x39, 0x6f, 0x48,
		0x37, 0x6c, 0x75, 0x73, 0x41, 0x7a, 0x70, 0x36, 0x69, 0x44, 0x69, 0x37,
		0x54, 0x2b, 0x46, 0x41, 0x57, 0x67, 0x70, 0x51, 0x37, 0x39, 0x68, 0x30,
		0x72, 0x78, 0x51, 0x45, 0x41, 0x37, 0x51, 0x61, 0x54, 0x63, 0x43, 0x61,
		0x78, 0x62, 0x50, 0x6e, 0x51, 0x6a, 0x73, 0x6d, 0x63, 0x37, 0x75, 0x78,
		0x73, 0x77, 0x33, 0x46, 0x30, 0x59, 0x57, 0x62, 0x6c, 0x4e, 0x30, 0x54,
		0x48, 0x45, 0x34, 0x6a, 0x53, 0x73, 0x59, 0x2b, 0x34, 0x76, 0x46, 0x34,
		0x6b, 0x59, 0x69, 0x72, 0x51, 0x6d, 0x63, 0x42, 0x6c, 0x4e, 0x4c, 0x49,
		0x62, 0x48, 0x52, 0x48, 0x6c, 0x6f, 0x54, 0x43, 0x43, 0x32, 0x59, 0x70,
		0x68, 0x75, 0x72, 0x4e, 0x6f, 0x34, 0x36, 0x63, 0x4a, 0x71, 0x53, 0x47,
		0x72, 0x39, 0x43, 0x5a, 0x62, 0x78, 0x76, 0x55, 0x6e, 0x4b, 0x75, 0x53,
		0x6b, 0x50, 0x7a, 0x55, 0x79, 0x46, 0x7a, 0x64, 0x74, 0x4b, 0x32, 0x51,
		0x30, 0x36, 0x2f, 0x4a, 0x45, 0x4d, 0x71, 0x75, 0x47, 0x33, 0x4c, 0x44,
		0x2f, 0x53, 0x78, 0x64, 0x6f, 0x56, 0x57, 0x78, 0x47, 0x38, 0x32, 0x55,
		0x58, 0x6f, 0x61, 0x34, 0x57, 0x68, 0x4e, 0x78, 0x31, 0x70, 0x51, 0x53,
		0x56, 0x55, 0x74, 0x34, 0x44, 0x55, 0x4f, 0x6b, 0x53, 0x39, 0x35, 0x45,
		0x52, 0x6c, 0x4e, 0x41, 0x55, 0x5a, 0x7a, 0x6d, 0x78, 0x67, 0x33, 0x4a,
		0x30, 0x61, 0x38, 0x2f, 0x4f, 0x4c, 0x69, 0x76, 0x30, 0x79, 0x57, 0x52,
		0x6d, 0x44, 0x42, 0x61, 0x79, 0x66, 0x75, 0x35, 0x58, 0x44, 0x49, 0x6d,
		0x42, 0x5a, 0x44, 0x62, 0x79, 0x58, 0x75, 0x54, 0x75, 0x44, 0x35, 0x6b,
		0x66, 0x37, 0x52, 0x68, 0x44, 0x4e, 0x32, 0x57, 0x4e, 0x47, 0x30, 0x51,
		0x51, 0x56, 0x63, 0x44, 0x4f, 0x2b, 0x55, 0x32, 0x68, 0x4b, 0x53, 0x49,
		0x67, 0x7a, 0x70, 0x6b, 0x61, 0x2f, 0x79, 0x4d, 0x4c, 0x35, 0x43, 0x51,
		0x6f, 0x6b, 0x2f, 0x7a, 0x57, 0x42, 0x73, 0x38, 0x31, 0x62, 0x6d, 0x79,
		0x45, 0x67, 0x38, 0x6e, 0x6f, 0x6d, 0x74, 0x70, 0x2f, 0x2f, 0x4a, 0x4a,
		0x42, 0x68, 0x71, 0x4e, 0x43, 0x38, 0x7a, 0x49, 0x70, 0x42, 0x30, 0x58,
		0x68, 0x68, 0x31, 0x53, 0x32, 0x48, 0x77, 0x5a, 0x34, 0x2b, 0x43, 0x2b,
		0x79, 0x35, 0x6f, 0x66, 0x30, 0x77, 0x70, 0x2b, 0x76, 0x79, 0x79, 0x48,
		0x6a, 0x78, 0x46, 0x66, 0x6e, 0x59, 0x54, 0x77, 0x2b, 0x78, 0x55, 0x46,
		0x4f, 0x37, 0x54, 0x32, 0x63, 0x65, 0x37, 0x70, 0x41, 0x67, 0x4d, 0x42,
		0x41, 0x41, 0x47, 0x6a, 0x67, 0x59, 0x38, 0x77, 0x67, 0x59, 0x77, 0x77,
		0x48, 0x77, 0x59, 0x44, 0x56, 0x52, 0x30, 0x6a, 0x42, 0x42, 0x67, 0x77,
		0x46, 0x6f, 0x41, 0x55, 0x45, 0x6f, 0x6f, 0x33, 0x37, 0x50, 0x6c, 0x7a,
		0x56, 0x39, 0x66, 0x6b, 0x67, 0x37, 0x71, 0x31, 0x62, 0x77, 0x50, 0x73,
		0x33, 0x61, 0x34, 0x52, 0x54, 0x73, 0x38, 0x77, 0x43, 0x77, 0x59, 0x44,
		0x56, 0x52, 0x30, 0x50, 0x42, 0x41, 0x51, 0x44, 0x41, 0x67, 0x50, 0x34,
		0x4d, 0x46, 0x77, 0x47, 0x43, 0x43, 0x73, 0x47, 0x41, 0x51, 0x55, 0x46,
		0x42, 0x77, 0x45, 0x42, 0x42, 0x46, 0x41, 0x77, 0x54, 0x6a, 0x41, 0x6f,
		0x42, 0x67, 0x67, 0x72, 0x42, 0x67, 0x45, 0x46, 0x42, 0x51, 0x63, 0x77,
		0x41, 0x6f, 0x59, 0x63, 0x61, 0x48, 0x52, 0x30, 0x63, 0x44, 0x6f, 0x76,
		0x4c, 0x7a, 0x45, 0x79, 0x4e, 0x79, 0x34, 0x77, 0x4c, 0x6a, 0x41, 0x75,
		0x4d, 0x53, 0x39, 0x6a, 0x59, 0x57, 0x6c, 0x7a, 0x63, 0x33, 0x56, 0x6c,
		0x4c, 0x6d, 0x68, 0x30, 0x62, 0x54, 0x41, 0x69, 0x42, 0x67, 0x67, 0x72,
		0x42, 0x67, 0x45, 0x46, 0x42, 0x51, 0x63, 0x77, 0x41, 0x59, 0x59, 0x57,
		0x61, 0x48, 0x52, 0x30, 0x63, 0x44, 0x6f, 0x76, 0x4c, 0x7a, 0x45, 0x79,
		0x4e, 0x79, 0x34, 0x77, 0x4c, 0x6a, 0x41, 0x75, 0x4d, 0x54, 0x6f, 0x79,
		0x4d, 0x44, 0x51, 0x30, 0x4d, 0x7a, 0x41, 0x4e, 0x42, 0x67, 0x6b, 0x71,
		0x68, 0x6b, 0x69, 0x47, 0x39, 0x77, 0x30, 0x42, 0x41, 0x51, 0x73, 0x46,
		0x41, 0x41, 0x4f, 0x43, 0x41, 0x51, 0x45, 0x41, 0x59, 0x36, 0x5a, 0x68,
		0x57, 0x67, 0x6f, 0x52, 0x31, 0x6d, 0x6c, 0x55, 0x4f, 0x42, 0x4c, 0x6c,
		0x62, 0x42, 0x46, 0x30, 0x46, 0x67, 0x49, 0x76, 0x78, 0x57, 0x71, 0x70,
		0x52, 0x65, 0x77, 0x59, 0x58, 0x52, 0x4d, 0x54, 0x4f, 0x53, 0x57, 0x4e,
		0x51, 0x76, 0x2b, 0x6e, 0x31, 0x6b, 0x51, 0x64, 0x48, 0x51, 0x4e, 0x4c,
		0x69, 0x2b, 0x57, 0x68, 0x61, 0x33, 0x6d, 0x50, 0x44, 0x43, 0x4c, 0x78,
		0x75, 0x79, 0x37, 0x6c, 0x42, 0x70, 0x42, 0x37, 0x41, 0x33, 0x79, 0x70,
		0x37, 0x6f, 0x64, 0x32, 0x30, 0x4b, 0x71, 0x7a, 0x53, 0x6e, 0x54, 0x71,
		0x71, 0x43, 0x34, 0x71, 0x31, 0x76, 0x46, 0x6a, 0x54, 0x6c, 0x69, 0x72,
		0x69, 0x71, 0x61, 0x56, 0x6f, 0x72, 0x38, 0x38, 0x6d, 0x78, 0x69, 0x37,
		0x6c, 0x2b, 0x57, 0x62, 0x48, 0x79, 0x6e, 0x55, 0x31, 0x37, 0x6e, 0x61,
		0x5a, 0x48, 0x4c, 0x6e, 0x43, 0x70, 0x4a, 0x35, 0x43, 0x74, 0x47, 0x76,
		0x62, 0x4b, 0x44, 0x43, 0x2f, 0x44, 0x62, 0x46, 0x54, 0x72, 0x6f, 0x6c,
		0x36, 0x75, 0x4a, 0x70, 0x58, 0x4e, 0x6a, 0x78, 0x78, 0x33, 0x73, 0x64,
		0x30, 0x65, 0x79, 0x4c, 0x39, 0x6b, 0x33, 0x57, 0x61, 0x42, 0x31, 0x5a,
		0x68, 0x2f, 0x64, 0x45, 0x77, 0x71, 0x4b, 0x45, 0x74, 0x4c, 0x37, 0x2b,
		0x6c, 0x65, 0x48, 0x38, 0x39, 0x30, 0x43, 0x37, 0x7a, 0x74, 0x53, 0x50,
		0x6b, 0x32, 0x52, 0x45, 0x63, 0x6c, 0x59, 0x4b, 0x31, 0x39, 0x75, 0x51,
		0x65, 0x4f, 0x77, 0x31, 0x4d, 0x47, 0x38, 0x69, 0x71, 0x58, 0x41, 0x65,
		0x32, 0x2b, 0x4a, 0x53, 0x73, 0x31, 0x4c, 0x6e, 0x53, 0x32, 0x37, 0x4c,
		0x59, 0x6c, 0x38, 0x6f, 0x71, 0x69, 0x68, 0x43, 0x76, 0x43, 0x36, 0x70,
		0x6a, 0x53, 0x2b, 0x74, 0x64, 0x4d, 0x38, 0x4b, 0x4c, 0x69, 0x38, 0x71,
		0x47, 0x77, 0x30, 0x70, 0x4d, 0x33, 0x49, 0x43, 0x73, 0x7a, 0x63, 0x42,
		0x69, 0x61, 0x39, 0x6e, 0x4e, 0x77, 0x4b, 0x67, 0x6b, 0x44, 0x48, 0x5a,
		0x4a, 0x75, 0x2b, 0x52, 0x72, 0x6a, 0x6b, 0x6f, 0x67, 0x70, 0x46, 0x72,
		0x39, 0x56, 0x57, 0x71, 0x49, 0x58, 0x6e, 0x35, 0x70, 0x53, 0x2f, 0x7a,
		0x49, 0x68, 0x73, 0x76, 0x36, 0x30, 0x46, 0x5a, 0x4a, 0x74, 0x4a, 0x4d,
		0x7a, 0x6c, 0x36, 0x79, 0x4f, 0x6d, 0x75, 0x58, 0x75, 0x53, 0x38, 0x53,
		0x50, 0x6d, 0x62, 0x4f, 0x49, 0x77, 0x71, 0x68, 0x6e, 0x59, 0x6d, 0x43,
		0x68, 0x67, 0x3d, 0x3d}

	bufferNoDAA = []byte{
		0x01, 0x00, 0x00, 0x00, 0x1a, 0xde, 0x21, 0x3b, 0x8e, 0x2d, 0x00, 0x00,
		0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x73,
		0x20, 0x6e, 0x6f, 0x20, 0x64, 0x61, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
		0x00, 0x00, 0x00, 0x10, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
		0x01, 0x00, 0x00, 0x10, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
		0x00, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00,
		0x02, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0xb0, 0x00, 0x00, 0x00,
		0x04, 0x00, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0xd0, 0x00, 0x00, 0x00,
		0x05, 0x00, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
		0x06, 0x00, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0xf0, 0x02, 0x00, 0x00,
		0x08, 0x00, 0x00, 0x20, 0x20, 0x06, 0x00, 0x00, 0xf0, 0x04, 0x00, 0x00,
		0xcc, 0x0f, 0xe8, 0x0b, 0x45, 0x10, 0xb3, 0xc8, 0xd5, 0xbf, 0x63, 0x08,
		0x02, 0x46, 0x76, 0xd2, 0xd9, 0xe8, 0x3f, 0xbb, 0x05, 0xba, 0x3d, 0x23,
		0xcd, 0x64, 0x5b, 0xfb, 0x57, 0x3a, 0xe8, 0xa1, 0xbd, 0x9d, 0xf1, 0xa7,
		0xf9, 0x41, 0xc5, 0x72, 0xc1, 0x47, 0x23, 0xb8, 0x0a, 0x0f, 0xbd, 0x80,
		0x5d, 0x52, 0x64, 0x1b, 0xba, 0xc8, 0x32, 0x56, 0x81, 0xa1, 0x9d, 0x8b,
		0xa8, 0x48, 0x7b, 0x53, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
		0xa8, 0x47, 0xea, 0x6e, 0x09, 0xf9, 0x3f, 0x5c, 0x9a, 0x4a, 0x74, 0x19,
		0x42, 0x24, 0x18, 0x9b, 0x7f, 0xa8, 0xbf, 0xfc, 0x93, 0x5d, 0xaf, 0x57,
		0x80, 0xe1, 0xad, 0x3e, 0xcb, 0xe0, 0x6c, 0x7c, 0x2a, 0x18, 0xf3, 0x8a,
		0x6c, 0xbd, 0xaa, 0x61, 0xf3, 0xfe, 0x6a, 0xe4, 0xc0, 0x1e, 0xf5, 0xba,
		0x4e, 0x11, 0xe6, 0x93, 0xcb, 0x4a, 0xb9, 0xb1, 0x80, 0xed, 0xca, 0xc1,
		0x80, 0x34, 0x4d, 0xc9, 0xeb, 0x68, 0xf5, 0x50, 0x58, 0x46, 0x66, 0x47,
		0x00, 0x88, 0x9d, 0x8b, 0xb0, 0x5f, 0x7a, 0xc1, 0x40, 0x0d, 0x6b, 0x31,
		0x5e, 0xfb, 0x75, 0xbf, 0x04, 0xb4, 0x1a, 0x92, 0xe3, 0x16, 0x78, 0xe4,
		0xf1, 0x2d, 0x92, 0xd6, 0xe8, 0xd2, 0xa5, 0x48, 0x6e, 0x9f, 0x80, 0x8a,
		0x00, 0xfb, 0x08, 0x0b, 0xba, 0xdf, 0x1d, 0x8f, 0x21, 0x2f, 0x5c, 0xa3,
		0x62, 0x46, 0x36, 0x6d, 0xa3, 0x4f, 0x14, 0x4b, 0x12, 0x49, 0x2a, 0xce,
		0x3c, 0xc5, 0x8e, 0xd8, 0x62, 0x6b, 0x59, 0xff, 0x22, 0xd2, 0x72, 0x48,
		0xd2, 0x24, 0xde, 0xb2, 0x2e, 0xd2, 0x5b, 0xfc, 0xc0, 0x6a, 0x22, 0x61,
		0xee, 0xd1, 0x8f, 0xd3, 0x3b, 0xe6, 0xb1, 0x97, 0x58, 0x09, 0x13, 0x1a,
		0x91, 0xbe, 0x17, 0xde, 0xf9, 0x64, 0x1c, 0x7e, 0x42, 0x7d, 0xf8, 0x31,
		0xf0, 0x25, 0xda, 0x1b, 0x45, 0xd9, 0xdf, 0xa3, 0xc0, 0x6e, 0x94, 0xd4,
		0x74, 0x2b, 0x9e, 0x1e, 0xc4, 0x6d, 0xbb, 0xac, 0xf2, 0xfd, 0x77, 0x73,
		0x69, 0xb1, 0x0c, 0x4e, 0x87, 0x5d, 0xe4, 0x87, 0xcf, 0xa3, 0x44, 0x7e,
		0xbc, 0x3e, 0xa4, 0xce, 0x5a, 0x22, 0x77, 0xef, 0x92, 0x16, 0xe0, 0x85,
		0x76, 0x12, 0x9f, 0x2f, 0xaa, 0x85, 0xca, 0x61, 0x13, 0xc8, 0xcc, 0xe9,
		0x8b, 0x12, 0x58, 0x55, 0x3c, 0xf4, 0x74, 0x48, 0xb2, 0x40, 0x09, 0x43,
		0xa6, 0x29, 0x90, 0x01, 0x6b, 0xde, 0x67, 0x08, 0x68, 0x1a, 0x71, 0x03,
		0x8b, 0xe5, 0xa3, 0xf4, 0x3a, 0xad, 0x81, 0x17, 0x60, 0xc8, 0xc1, 0x6d,
		0x95, 0x1f, 0x68, 0xa8, 0xa3, 0x14, 0x42, 0x83, 0x66, 0x21, 0xeb, 0xbc,
		0x32, 0xb3, 0xa1, 0x64, 0x32, 0x74, 0x72, 0x0c, 0x7e, 0xcc, 0x1c, 0x10,
		0xb2, 0x80, 0xad, 0x84, 0x78, 0x36, 0xa9, 0x5b, 0xfb, 0xfc, 0x43, 0x62,
		0x21, 0x15, 0x84, 0xef, 0x39, 0x0f, 0xc3, 0xda, 0x5b, 0xa2, 0x36, 0x37,
		0xfa, 0x51, 0x67, 0x0b, 0x12, 0xff, 0x41, 0x92, 0x4a, 0x5a, 0x7b, 0x22,
		0xcb,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 0x1e, 0xc8, 0x86, 0x3e, 0xa2, 0x24,
		0x29, 0x9c, 0xa3, 0xa7, 0x21, 0xbb, 0xe2, 0x0a, 0x22, 0x65, 0x0f, 0x8c,
		0xa5, 0xd8, 0x01, 0x65, 0xbd, 0x72, 0xe9, 0x2d, 0x55, 0x31, 0x42, 0x43,
		0xba, 0x9a, 0x0e, 0xb5, 0x3a, 0xa4, 0xab, 0x84, 0x0e, 0xfc, 0x26, 0xf6,
		0xec, 0x0a, 0x29, 0x2c, 0x7d, 0xab, 0xee, 0x1c, 0xb7, 0x15, 0xea, 0x00,
		0x11, 0x37, 0x66, 0x12, 0x48, 0x1a, 0xfd, 0x39, 0x56, 0xf4, 0xd0, 0xf4,
		0xf5, 0x55, 0x43, 0xe5, 0x7d, 0x9a, 0x96, 0xee, 0x56, 0x7a, 0x90, 0xbc,
		0xe8, 0x3d, 0x3c, 0xf3, 0x7e, 0x9c, 0x1b, 0x19, 0x1a, 0xa0, 0x22, 0xaf,
		0x08, 0x72, 0x8b, 0x6e, 0xc3, 0x9e, 0x74, 0xa4, 0x14, 0xde, 0xc4, 0x30,
		0x43, 0x13, 0x69, 0x8b, 0x25, 0x35, 0xb6, 0x68, 0x53, 0x36, 0x81, 0xfe,
		0xc7, 0xf3, 0xd3, 0x0c, 0xa9, 0x94, 0xde, 0xf6, 0x0c, 0xd4, 0xfa, 0x60,
		0x6a, 0xc1, 0x67, 0xbd, 0x15, 0xbc, 0xa1, 0xef, 0xd9, 0xe3, 0x1e, 0xc6,
		0x19, 0xd0, 0xdf, 0x1b, 0x4d, 0x49, 0x49, 0x45, 0x6b, 0x6a, 0x43, 0x43,
		0x41, 0x33, 0x71, 0x67, 0x41, 0x77, 0x49, 0x42, 0x41, 0x67, 0x49, 0x52,
		0x45, 0x57, 0x49, 0x6d, 0x38, 0x75, 0x4e, 0x4c, 0x4e, 0x4d, 0x53, 0x7a,
		0x6d, 0x65, 0x4f, 0x72, 0x46, 0x48, 0x65, 0x33, 0x4a, 0x7a, 0x63, 0x77,
		0x44, 0x51, 0x59, 0x4a, 0x4b, 0x6f, 0x5a, 0x49, 0x68, 0x76, 0x63, 0x4e,
		0x41, 0x51, 0x45, 0x4c, 0x42, 0x51, 0x41, 0x77, 0x50, 0x54, 0x45, 0x4c,
		0x4d, 0x41, 0x6b, 0x47, 0x41, 0x31, 0x55, 0x45, 0x42, 0x68, 0x4d, 0x43,
		0x51, 0x30, 0x34, 0x78, 0x44, 0x7a, 0x41, 0x4e, 0x42, 0x67, 0x4e, 0x56,
		0x42, 0x41, 0x6f, 0x54, 0x42, 0x6b, 0x68, 0x31, 0x59, 0x58, 0x64, 0x6c,
		0x61, 0x54, 0x45, 0x64, 0x4d, 0x42, 0x73, 0x47, 0x41, 0x31, 0x55, 0x45,
		0x41, 0x78, 0x4d, 0x55, 0x53, 0x48, 0x56, 0x68, 0x64, 0x32, 0x56, 0x70,
		0x49, 0x45, 0x6c, 0x55, 0x49, 0x46, 0x42, 0x79, 0x62, 0x32, 0x52, 0x31,
		0x59, 0x33, 0x51, 0x67, 0x51, 0x30, 0x45, 0x77, 0x48, 0x68, 0x63, 0x4e,
		0x4d, 0x6a, 0x49, 0x77, 0x4e, 0x7a, 0x41, 0x34, 0x4d, 0x44, 0x6b, 0x77,
		0x4e, 0x54, 0x51, 0x35, 0x57, 0x68, 0x63, 0x4e, 0x4d, 0x7a, 0x63, 0x77,
		0x4e, 0x7a, 0x41, 0x30, 0x4d, 0x44, 0x6b, 0x77, 0x4e, 0x54, 0x51, 0x35,
		0x57, 0x6a, 0x41, 0x36, 0x4d, 0x51, 0x73, 0x77, 0x43, 0x51, 0x59, 0x44,
		0x56, 0x51, 0x51, 0x47, 0x45, 0x77, 0x4a, 0x44, 0x54, 0x6a, 0x45, 0x50,
		0x4d, 0x41, 0x30, 0x47, 0x41, 0x31, 0x55, 0x45, 0x43, 0x68, 0x4d, 0x47,
		0x53, 0x48, 0x56, 0x68, 0x64, 0x32, 0x56, 0x70, 0x4d, 0x52, 0x6f, 0x77,
		0x47, 0x41, 0x59, 0x44, 0x56, 0x51, 0x51, 0x44, 0x45, 0x78, 0x45, 0x77,
		0x4d, 0x6a, 0x5a, 0x51, 0x55, 0x46, 0x59, 0x78, 0x4d, 0x45, 0x74, 0x42,
		0x4d, 0x44, 0x41, 0x31, 0x4d, 0x54, 0x4d, 0x35, 0x56, 0x44, 0x43, 0x43,
		0x41, 0x69, 0x49, 0x77, 0x44, 0x51, 0x59, 0x4a, 0x4b, 0x6f, 0x5a, 0x49,
		0x68, 0x76, 0x63, 0x4e, 0x41, 0x51, 0x45, 0x42, 0x42, 0x51, 0x41, 0x44,
		0x67, 0x67, 0x49, 0x50, 0x41, 0x44, 0x43, 0x43, 0x41, 0x67, 0x6f, 0x43,
		0x67, 0x67, 0x49, 0x42, 0x41, 0x4c, 0x6b, 0x48, 0x2f, 0x36, 0x36, 0x43,
		0x53, 0x61, 0x4e, 0x76, 0x31, 0x78, 0x45, 0x54, 0x47, 0x74, 0x59, 0x4b,
		0x47, 0x66, 0x43, 0x4d, 0x6f, 0x35, 0x52, 0x4c, 0x79, 0x57, 0x61, 0x47,
		0x52, 0x56, 0x61, 0x54, 0x6e, 0x34, 0x76, 0x42, 0x48, 0x53, 0x50, 0x39,
		0x34, 0x65, 0x78, 0x6f, 0x6d, 0x4e, 0x43, 0x32, 0x36, 0x52, 0x68, 0x75,
		0x78, 0x6c, 0x4b, 0x55, 0x2b, 0x57, 0x4d, 0x38, 0x4c, 0x34, 0x4e, 0x31,
		0x52, 0x54, 0x39, 0x31, 0x52, 0x76, 0x51, 0x6d, 0x59, 0x54, 0x35, 0x4c,
		0x37, 0x70, 0x6d, 0x71, 0x4f, 0x31, 0x65, 0x6f, 0x4e, 0x37, 0x7a, 0x2f,
		0x36, 0x61, 0x48, 0x73, 0x64, 0x6e, 0x70, 0x67, 0x74, 0x78, 0x45, 0x43,
		0x52, 0x4f, 0x36, 0x79, 0x5a, 0x4c, 0x46, 0x71, 0x4b, 0x36, 0x50, 0x48,
		0x57, 0x77, 0x4b, 0x70, 0x52, 0x71, 0x64, 0x73, 0x34, 0x65, 0x61, 0x57,
		0x32, 0x66, 0x56, 0x47, 0x55, 0x71, 0x76, 0x31, 0x66, 0x52, 0x46, 0x65,
		0x53, 0x68, 0x4b, 0x46, 0x33, 0x6f, 0x58, 0x51, 0x5a, 0x58, 0x6e, 0x6a,
		0x4b, 0x37, 0x5a, 0x30, 0x4b, 0x73, 0x34, 0x41, 0x36, 0x7a, 0x4e, 0x61,
		0x4d, 0x52, 0x70, 0x66, 0x57, 0x75, 0x4d, 0x76, 0x56, 0x31, 0x74, 0x70,
		0x57, 0x38, 0x56, 0x55, 0x41, 0x59, 0x34, 0x58, 0x6e, 0x65, 0x42, 0x39,
		0x74, 0x67, 0x39, 0x38, 0x77, 0x76, 0x51, 0x65, 0x4a, 0x2b, 0x47, 0x79,
		0x36, 0x71, 0x5a, 0x32, 0x54, 0x41, 0x58, 0x54, 0x49, 0x2b, 0x7a, 0x48,
		0x54, 0x5a, 0x75, 0x4c, 0x34, 0x43, 0x6d, 0x4e, 0x75, 0x2b, 0x4c, 0x37,
		0x49, 0x4e, 0x43, 0x5a, 0x4f, 0x45, 0x56, 0x52, 0x73, 0x70, 0x56, 0x6d,
		0x47, 0x54, 0x58, 0x6d, 0x4a, 0x48, 0x73, 0x6e, 0x38, 0x58, 0x43, 0x47,
		0x56, 0x62, 0x59, 0x51, 0x32, 0x4e, 0x51, 0x4f, 0x41, 0x64, 0x75, 0x6f,
		0x56, 0x52, 0x74, 0x56, 0x68, 0x56, 0x52, 0x32, 0x39, 0x38, 0x48, 0x74,
		0x34, 0x35, 0x47, 0x35, 0x7a, 0x33, 0x53, 0x43, 0x36, 0x6d, 0x74, 0x46,
		0x35, 0x75, 0x37, 0x4f, 0x79, 0x76, 0x2f, 0x56, 0x51, 0x50, 0x6f, 0x2b,
		0x6e, 0x4b, 0x78, 0x66, 0x45, 0x43, 0x71, 0x2f, 0x2b, 0x63, 0x4d, 0x4a,
		0x48, 0x2b, 0x79, 0x6c, 0x41, 0x61, 0x42, 0x71, 0x79, 0x72, 0x6b, 0x58,
		0x62, 0x62, 0x45, 0x36, 0x48, 0x34, 0x62, 0x79, 0x4d, 0x4f, 0x65, 0x43,
		0x79, 0x44, 0x41, 0x4b, 0x4b, 0x39, 0x6f, 0x48, 0x37, 0x6c, 0x75, 0x73,
		0x41, 0x7a, 0x70, 0x36, 0x69, 0x44, 0x69, 0x37, 0x54, 0x2b, 0x46, 0x41,
		0x57, 0x67, 0x70, 0x51, 0x37, 0x39, 0x68, 0x30, 0x72, 0x78, 0x51, 0x45,
		0x41, 0x37, 0x51, 0x61, 0x54, 0x63, 0x43, 0x61, 0x78, 0x62, 0x50, 0x6e,
		0x51, 0x6a, 0x73, 0x6d, 0x63, 0x37, 0x75, 0x78, 0x73, 0x77, 0x33, 0x46,
		0x30, 0x59, 0x57, 0x62, 0x6c, 0x4e, 0x30, 0x54, 0x48, 0x45, 0x34, 0x6a,
		0x53, 0x73, 0x59, 0x2b, 0x34, 0x76, 0x46, 0x34, 0x6b, 0x59, 0x69, 0x72,
		0x51, 0x6d, 0x63, 0x42, 0x6c, 0x4e, 0x4c, 0x49, 0x62, 0x48, 0x52, 0x48,
		0x6c, 0x6f, 0x54, 0x43, 0x43, 0x32, 0x59, 0x70, 0x68, 0x75, 0x72, 0x4e,
		0x6f, 0x34, 0x36, 0x63, 0x4a, 0x71, 0x53, 0x47, 0x72, 0x39, 0x43, 0x5a,
		0x62, 0x78, 0x76, 0x55, 0x6e, 0x4b, 0x75, 0x53, 0x6b, 0x50, 0x7a, 0x55,
		0x79, 0x46, 0x7a, 0x64, 0x74, 0x4b, 0x32, 0x51, 0x30, 0x36, 0x2f, 0x4a,
		0x45, 0x4d, 0x71, 0x75, 0x47, 0x33, 0x4c, 0x44, 0x2f, 0x53, 0x78, 0x64,
		0x6f, 0x56, 0x57, 0x78, 0x47, 0x38, 0x32, 0x55, 0x58, 0x6f, 0x61, 0x34,
		0x57, 0x68, 0x4e, 0x78, 0x31, 0x70, 0x51, 0x53, 0x56, 0x55, 0x74, 0x34,
		0x44, 0x55, 0x4f, 0x6b, 0x53, 0x39, 0x35, 0x45, 0x52, 0x6c, 0x4e, 0x41,
		0x55, 0x5a, 0x7a, 0x6d, 0x78, 0x67, 0x33, 0x4a, 0x30, 0x61, 0x38, 0x2f,
		0x4f, 0x4c, 0x69, 0x76, 0x30, 0x79, 0x57, 0x52, 0x6d, 0x44, 0x42, 0x61,
		0x79, 0x66, 0x75, 0x35, 0x58, 0x44, 0x49, 0x6d, 0x42, 0x5a, 0x44, 0x62,
		0x79, 0x58, 0x75, 0x54, 0x75, 0x44, 0x35, 0x6b, 0x66, 0x37, 0x52, 0x68,
		0x44, 0x4e, 0x32, 0x57, 0x4e, 0x47, 0x30, 0x51, 0x51, 0x56, 0x63, 0x44,
		0x4f, 0x2b, 0x55, 0x32, 0x68, 0x4b, 0x53, 0x49, 0x67, 0x7a, 0x70, 0x6b,
		0x61, 0x2f, 0x79, 0x4d, 0x4c, 0x35, 0x43, 0x51, 0x6f, 0x6b, 0x2f, 0x7a,
		0x57, 0x42, 0x73, 0x38, 0x31, 0x62, 0x6d, 0x79, 0x45, 0x67, 0x38, 0x6e,
		0x6f, 0x6d, 0x74, 0x70, 0x2f, 0x2f, 0x4a, 0x4a, 0x42, 0x68, 0x71, 0x4e,
		0x43, 0x38, 0x7a, 0x49, 0x70, 0x42, 0x30, 0x58, 0x68, 0x68, 0x31, 0x53,
		0x32, 0x48, 0x77, 0x5a, 0x34, 0x2b, 0x43, 0x2b, 0x79, 0x35, 0x6f, 0x66,
		0x30, 0x77, 0x70, 0x2b, 0x76, 0x79, 0x79, 0x48, 0x6a, 0x78, 0x46, 0x66,
		0x6e, 0x59, 0x54, 0x77, 0x2b, 0x78, 0x55, 0x46, 0x4f, 0x37, 0x54, 0x32,
		0x63, 0x65, 0x37, 0x70, 0x41, 0x67, 0x4d, 0x42, 0x41, 0x41, 0x47, 0x6a,
		0x67, 0x59, 0x38, 0x77, 0x67, 0x59, 0x77, 0x77, 0x48, 0x77, 0x59, 0x44,
		0x56, 0x52, 0x30, 0x6a, 0x42, 0x42, 0x67, 0x77, 0x46, 0x6f, 0x41, 0x55,
		0x45, 0x6f, 0x6f, 0x33, 0x37, 0x50, 0x6c, 0x7a, 0x56, 0x39, 0x66, 0x6b,
		0x67, 0x37, 0x71, 0x31, 0x62, 0x77, 0x50, 0x73, 0x33, 0x61, 0x34, 0x52,
		0x54, 0x73, 0x38, 0x77, 0x43, 0x77, 0x59, 0x44, 0x56, 0x52, 0x30, 0x50,
		0x42, 0x41, 0x51, 0x44, 0x41, 0x67, 0x50, 0x34, 0x4d, 0x46, 0x77, 0x47,
		0x43, 0x43, 0x73, 0x47, 0x41, 0x51, 0x55, 0x46, 0x42, 0x77, 0x45, 0x42,
		0x42, 0x46, 0x41, 0x77, 0x54, 0x6a, 0x41, 0x6f, 0x42, 0x67, 0x67, 0x72,
		0x42, 0x67, 0x45, 0x46, 0x42, 0x51, 0x63, 0x77, 0x41, 0x6f, 0x59, 0x63,
		0x61, 0x48, 0x52, 0x30, 0x63, 0x44, 0x6f, 0x76, 0x4c, 0x7a, 0x45, 0x79,
		0x4e, 0x79, 0x34, 0x77, 0x4c, 0x6a, 0x41, 0x75, 0x4d, 0x53, 0x39, 0x6a,
		0x59, 0x57, 0x6c, 0x7a, 0x63, 0x33, 0x56, 0x6c, 0x4c, 0x6d, 0x68, 0x30,
		0x62, 0x54, 0x41, 0x69, 0x42, 0x67, 0x67, 0x72, 0x42, 0x67, 0x45, 0x46,
		0x42, 0x51, 0x63, 0x77, 0x41, 0x59, 0x59, 0x57, 0x61, 0x48, 0x52, 0x30,
		0x63, 0x44, 0x6f, 0x76, 0x4c, 0x7a, 0x45, 0x79, 0x4e, 0x79, 0x34, 0x77,
		0x4c, 0x6a, 0x41, 0x75, 0x4d, 0x54, 0x6f, 0x79, 0x4d, 0x44, 0x51, 0x30,
		0x4d, 0x7a, 0x41, 0x4e, 0x42, 0x67, 0x6b, 0x71, 0x68, 0x6b, 0x69, 0x47,
		0x39, 0x77, 0x30, 0x42, 0x41, 0x51, 0x73, 0x46, 0x41, 0x41, 0x4f, 0x43,
		0x41, 0x51, 0x45, 0x41, 0x59, 0x36, 0x5a, 0x68, 0x57, 0x67, 0x6f, 0x52,
		0x31, 0x6d, 0x6c, 0x55, 0x4f, 0x42, 0x4c, 0x6c, 0x62, 0x42, 0x46, 0x30,
		0x46, 0x67, 0x49, 0x76, 0x78, 0x57, 0x71, 0x70, 0x52, 0x65, 0x77, 0x59,
		0x58, 0x52, 0x4d, 0x54, 0x4f, 0x53, 0x57, 0x4e, 0x51, 0x76, 0x2b, 0x6e,
		0x31, 0x6b, 0x51, 0x64, 0x48, 0x51, 0x4e, 0x4c, 0x69, 0x2b, 0x57, 0x68,
		0x61, 0x33, 0x6d, 0x50, 0x44, 0x43, 0x4c, 0x78, 0x75, 0x79, 0x37, 0x6c,
		0x42, 0x70, 0x42, 0x37, 0x41, 0x33, 0x79, 0x70, 0x37, 0x6f, 0x64, 0x32,
		0x30, 0x4b, 0x71, 0x7a, 0x53, 0x6e, 0x54, 0x71, 0x71, 0x43, 0x34, 0x71,
		0x31, 0x76, 0x46, 0x6a, 0x54, 0x6c, 0x69, 0x72, 0x69, 0x71, 0x61, 0x56,
		0x6f, 0x72, 0x38, 0x38, 0x6d, 0x78, 0x69, 0x37, 0x6c, 0x2b, 0x57, 0x62,
		0x48, 0x79, 0x6e, 0x55, 0x31, 0x37, 0x6e, 0x61, 0x5a, 0x48, 0x4c, 0x6e,
		0x43, 0x70, 0x4a, 0x35, 0x43, 0x74, 0x47, 0x76, 0x62, 0x4b, 0x44, 0x43,
		0x2f, 0x44, 0x62, 0x46, 0x54, 0x72, 0x6f, 0x6c, 0x36, 0x75, 0x4a, 0x70,
		0x58, 0x4e, 0x6a, 0x78, 0x78, 0x33, 0x73, 0x64, 0x30, 0x65, 0x79, 0x4c,
		0x39, 0x6b, 0x33, 0x57, 0x61, 0x42, 0x31, 0x5a, 0x68, 0x2f, 0x64, 0x45,
		0x77, 0x71, 0x4b, 0x45, 0x74, 0x4c, 0x37, 0x2b, 0x6c, 0x65, 0x48, 0x38,
		0x39, 0x30, 0x43, 0x37, 0x7a, 0x74, 0x53, 0x50, 0x6b, 0x32, 0x52, 0x45,
		0x63, 0x6c, 0x59, 0x4b, 0x31, 0x39, 0x75, 0x51, 0x65, 0x4f, 0x77, 0x31,
		0x4d, 0x47, 0x38, 0x69, 0x71, 0x58, 0x41, 0x65, 0x32, 0x2b, 0x4a, 0x53,
		0x73, 0x31, 0x4c, 0x6e, 0x53, 0x32, 0x37, 0x4c, 0x59, 0x6c, 0x38, 0x6f,
		0x71, 0x69, 0x68, 0x43, 0x76, 0x43, 0x36, 0x70, 0x6a, 0x53, 0x2b, 0x74,
		0x64, 0x4d, 0x38, 0x4b, 0x4c, 0x69, 0x38, 0x71, 0x47, 0x77, 0x30, 0x70,
		0x4d, 0x33, 0x49, 0x43, 0x73, 0x7a, 0x63, 0x42, 0x69, 0x61, 0x39, 0x6e,
		0x4e, 0x77, 0x4b, 0x67, 0x6b, 0x44, 0x48, 0x5a, 0x4a, 0x75, 0x2b, 0x52,
		0x72, 0x6a, 0x6b, 0x6f, 0x67, 0x70, 0x46, 0x72, 0x39, 0x56, 0x57, 0x71,
		0x49, 0x58, 0x6e, 0x35, 0x70, 0x53, 0x2f, 0x7a, 0x49, 0x68, 0x73, 0x76,
		0x36, 0x30, 0x46, 0x5a, 0x4a, 0x74, 0x4a, 0x4d, 0x7a, 0x6c, 0x36, 0x79,
		0x4f, 0x6d, 0x75, 0x58, 0x75, 0x53, 0x38, 0x53, 0x50, 0x6d, 0x62, 0x4f,
		0x49, 0x77, 0x71, 0x68, 0x6e, 0x59, 0x6d, 0x43, 0x68, 0x67, 0x3d, 0x3d}

	badCert = []byte{0x00, 0x01, 0x02, 0x03, 0x04, 0x05}
)

func createFiles() {
	err := ioutil.WriteFile(ConfigPath, []byte(tasconfig), 0644)
	if err != nil {
		return
	}
	err1 := ioutil.WriteFile(asCertPath, []byte(ascert), 0644)
	if err1 != nil {
		return
	}
	err2 := ioutil.WriteFile(asprivPath, []byte(aspriv), 0644)
	if err2 != nil {
		return
	}
	err3 := ioutil.WriteFile(huaweiPath, []byte(huaweica), 0644)
	if err3 != nil {
		return
	}
}

func removeFiles() {
	err := os.Remove(ConfigPath)
	if err != nil {
		return
	}
	err1 := os.Remove(asCertPath)
	if err1 != nil {
		return
	}
	err2 := os.Remove(asprivPath)
	if err2 != nil {
		return
	}
	err3 := os.Remove(huaweiPath)
	if err3 != nil {
		return
	}
}

func TestGetAKCert(t *testing.T) {
	createFiles()
	defer removeFiles()

	config.LoadConfigs()
	tasServer := config.GetServerPort()

	err := config.InitializeAS()
	if err != nil {
		t.Error(err)
	}

	go server.StartServer(tasServer)
	defer server.StopServer()

	newCert, err := GetAKCert(tasServer, bufferNoDAA, RA_SCENARIO_AS_NO_DAA)
	if newCert == nil || err != nil {
		t.Error(err)
	}

	newCert, err = GetAKCert(tasServer, bufferDAA, RA_SCENARIO_AS_WITH_DAA)
	if newCert == nil || err != nil {
		t.Error(err)
	}

	newCert, err = GetAKCert(tasServer, badCert, NOT_SUPPORT_SCENARIO)
	if newCert != nil || err == nil {
		t.Error("bad cert, should not get correct new cert")
	}
}
